<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <title>Title</title>
</head>
<style>

</style>
<body>
<div class="container">
    <div class="row" >
        <div class="col-md-12" style="text-align:center">
            <h3>请假申请表</h3>

        </div>
    </div>
    <div class="row">
        <form class="form-horizontal">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">姓名</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control"  placeholder="${loginUser.name}"  readonly="true">

                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">学号</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control"  placeholder="${loginUser.code}" readonly="readonly">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">请假类型</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control"  placeholder="<#if absentnote.courseid==0>生活请假<#else>课程请假</#if>" readonly="readonly">
                </div>
            </div>

            <div class="form-group">
                <label  class="col-sm-2 control-label">班主任审核</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control"  placeholder="<#if absentnote.managercfm==1>同意</#if>" readonly="readonly">
                </div>
                <#if absentnote.courseid!=0>
                <label  class="col-sm-2 control-label">教师审核</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" id="inputEmail3" placeholder="<#if absentnote.teachercfm==1>同意</#if>" readonly="readonly">
                </div>
            </#if>

            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">原因</label>
                <div class="col-sm-10">
                    <textarea class="form-control" style="height: 150px; " readonly="readonly">${absentnote.reason}</textarea>
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">班主任审核意见</label>
                <div class="col-sm-10">
                    <textarea class="form-control" style="height: 150px; " readonly="readonly">${absentnote.managermark}</textarea>
                </div>
            </div>
    <#if absentnote.courseid!=0>
            <div class="form-group">
                <label  class="col-sm-2 control-label">教师审核意见</label>
                <div class="col-sm-10">
                    <textarea class="form-control" style="height: 150px; " readonly="readonly">${absentnote.teachermark}</textarea>
                </div>
            </div>
</#if>
        </form>
    </div>

</div>
</body>

</html>